{template header}
<div class="path">
	<span>用户组管理</span>
</div>
<div class="content">
	<div class="c1">
		<form action="user-delete.htm" method="post">
			<table width="100%" border="0" cellspacing="1" cellpadding="2" class="table1" style="margin-top:10px; text-align:center">
				<tr>
					<th width="10%">ID</th>
					<th width="30%">用户组名称</th>
					<th width="30%" style="display:none">折扣</th>
					<th width="30%">操作</th>
				</tr>
				<!--{loop $userGroupList $v}-->
				<tr>
					<td>{$v[groupId]}</td>
					<td>{$v[groupName]}</td>
					<td style="display:none">
					<!--{if $v[groupId]>=GODHOUSE_GROUP_ADMIN_LIMIT}-->
					{$v[discount]}
					<!--{/if}-->
					</td>
					<td>
						<a href="group-admin-{$v[groupId]}.htm">编辑</a>
						<!--{if $v[groupId]>=GODHOUSE_GROUP_ADMIN_LIMIT}-->
						<a href="group-delete-{$v[groupId]}.htm">删除</a>
						<!--{else}-->
						<a href="permission-setting-{$v[groupId]}.htm">权限设置</a>
						<!--{/if}-->
					</td>
				</tr>
				<!--{/loop}-->
				<tr>
					<td colspan="4">$multipage</td>
				</tr>
			</table>
		</form>
		<form action="group-{$action}.htm" method="POST">
			<table style="margin-top:10px;" width="100%" border="0" cellspacing="0" class="table1">
				<tr>
					<td width="80">用户组名称：</td>
					<td width="130"><input type="text" name="userGroup[groupName]" value="$userGroup[groupName]" /></td>
					<td width="50" align="right" style="display:none">折扣：</td>
					<td width="50" style="display:none"><input type="text" name="userGroup[discount]" value="$userGroup[discount]" style="width:30px" /></td>
					<td>
						<input type="submit" name="submitTo" value=" $submitTitle " class="bigButton" />
						<input type="hidden" name="userGroup[groupId]" value="$userGroup[groupId]" />
					</td>
					<td width="470"></td>
				</tr>
			</table>
		</form>
	</div>
</div>
{template footer}